package connect.server;

public class QQFileTrans {
	private int totallength;
	private int type;
	private int srcQQ;
	private int desQQ;
	private byte filelength;
	private String filename;
	private int fileDatalength;
	
	
	public void setTotalen(int totallength){
		this.totallength=totallength;
	}
	public int getTotalen(){
		return totallength;
	}
	public void setType(int type){
		this.type=type;
	}
	public int getType(){
		return type;
	}
	public void setSrcQQ(int srcQQ){
		this.srcQQ=srcQQ;
	}
	public int getSrcQQ(){
		return srcQQ;
	}
	public void setDesQQ(int desQQ){
		this.desQQ=desQQ;
	}
	public int getDesQQ(){
		return desQQ;
	}
	public void setFileNameLen(byte filelength) {
		this.filelength = filelength;
	}
	public byte getFileNameLen() {
		return filelength;
	}
	public void setFileName(String filename) {
		this.filename = filename;
	}
	public String getFileName() {
		return filename;
	}
	public void setFileDataLen(int fileDatalength) {
		this.fileDatalength = fileDatalength;
	}
	public int getFileDataLen() {
		return fileDatalength;
	}
	public String toString(){
		return " totallength:"+ totallength
		+" type:"+ type    
		+" srcQQ:"+ srcQQ  
		+" desQQ:"+ desQQ   
		+" filelength:"+ filelength
		+" filename:"+filename
		+" fileDatalength:"+fileDatalength; 
	}
}
